package com.yilin.platform.mapper.capital;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yilin.platform.entity.capital.AdvanceMoney;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 车辆Mapper
 *
 * @author zhangjinyuan
 * @date 2022/10/24
 */
@Mapper
@Repository
public interface AdvanceMoneyMapper extends BaseMapper<AdvanceMoney> {
    List<Map<String,Object>> getVeclickAdvaceMap(@Param("truckIds") List<Object> truckIds,
                                  @Param("year") String year,
                                  @Param("month") String month,
                                  @Param("day") String day);
    Map<String, Object> getOrganizeAdvaceStatic(@Param("organizeId") String organizeId);

    Map<String, Object> getTruckIdAdvanceStatic(@Param("truckId") String truckId,@Param("startDate") String  startDate,@Param("endDate") String  endDate);

    Map<String, Object> getEmpAccountStatic(@Param("accountId") String accountId,@Param("startDate") String  startDate,@Param("endDate") String  endDate);
}
